home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hydos10 / path < prev    next >
Text File  |  1991-04-21  |  944b  |  22 lines

  1.                                     PATH
  2.        Sets the path of directories that DOS will search for programs
  3.                              See also <APPEND>
  4.  
  5. The current directory is always searched first.
  6.  
  7. COMMAND TYPE: Internal                  VERSION: 2.0 and up
  8.  
  9. USE:  PATH [[d:]path[[;[d:] path]...]]]
  10.  
  11. d: path; d: path;... define the paths that DOS will search for
  12.      commands and programs. The paths are separated by ";" and the maximum
  13.      length is 127 characters.
  14. PATH     with no arguments will report the current path.
  15. PATH ;   will delete the current path.
  16.  
  17. COMMAND.COM uses PATH to search for commands and programs.  The current
  18. directory is always searched first, followed by the directories in the PATH
  19. command, in the order specified.  Executable files have extensions .COM,
  20. .EXE, and .BAT .  Within each directory the search order is COM, EXE, BAT.
  21. The path is stored in the environment string PATH.
  22.